import React, {Component} from 'react';
import {NavLink} from 'react-router-dom';
import './navbar.scss';
export default class NavBar extends Component{
    render () {
        return (
            <div className="navbar">
                <ul>
                    <li>
                        <NavLink to="/home">
                        <i className="iconfont icon-home"></i>
                        <span>首页</span>
                        </NavLink>
                    </li>
                    <li>
                         <NavLink to="/pinTuan">
                        <i className="iconfont icon-ziyuan"></i>
                        <span>拼团</span>
                        </NavLink>
                    </li>
                    <li>
                         <NavLink to="/shopCar">
                        <i className="iconfont icon-gouwudai"></i>
                        <span>购物车</span>
                        </NavLink>
                    </li>
                    <li>
                         <NavLink to="/woDe">
                        <i className="iconfont icon-ziyuan1"></i>
                        <span>我的</span>
                        </NavLink>
                    </li>
                </ul>
            </div>
        )
    }
}